package com.homework.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName
public class User {

    @TableId(value = "id",type= IdType.AUTO)
    private Integer ids;
    private String user_name;
    private String password;
    private String real_name;
    private String email;
    private String is_valid;
    private String remark;
    private String creator;
    private String create_time;
    private String modifier;
    private String modified_time;

    @Override
    public String toString() {
        return "User{" +
                "ids=" + ids +
                ", user_name='" + user_name + '\'' +
                ", password='" + password + '\'' +
                ", real_name='" + real_name + '\'' +
                ", email='" + email + '\'' +
                ", is_valid='" + is_valid + '\'' +
                ", remark='" + remark + '\'' +
                ", creator='" + creator + '\'' +
                ", create_time='" + create_time + '\'' +
                ", modifier='" + modifier + '\'' +
                ", modified_time='" + modified_time + '\'' +
                '}';
    }
}
